package sjtu.ist.warehouse4ws.service;

import java.io.File;
import java.util.List;

import sjtu.ist.warehouse4ws.model.Modelgroup;
import sjtu.ist.warehouse4ws.tool.MyUtils;
import sjtu.ist.warehouse4ws.tool.file.ModelPackage;
import sjtu.ist.warehouse4ws.vo.ModelgroupVO;

public interface ModelgroupService {

	List<ModelgroupVO> getAll();
	List<ModelgroupVO> getAllByAdmin();
	List<ModelgroupVO> getAllByName(String name);
	List<ModelgroupVO> getDistinctName();
	Modelgroup get(Integer id);
	
	Integer save(Modelgroup modelgroup, int companyId);
	
	void update(Modelgroup modelgroup,int companyId);
	
	void delete(Integer id);
	void delete(Modelgroup modelgroup);
	List<Modelgroup> getByName(String name);
}
